package com.zhihuiyanche.dao.user.impl;

import java.util.List;
import java.util.Map;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.zhihuiyanche.dao.user.UsersDao;
import com.zhihuiyanche.domain.Users;

public class UsersDaoImpl extends SqlSessionDaoSupport  implements UsersDao{

	@Override
	public void insertUsers(Users users) {
		this.getSqlSession().insert("users.insertUsers", users);
	}
	
	@Override
	public List<Users> getUsersByCondition(Users users) {
		return this.getSqlSession().selectList("users.getUsersByCondition", users);
	}

	@Override
	public boolean deleteUsersById(Users Users) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean deleteUsersByCondition(Users Users) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean updateUsersById(Users Users) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean updateUsersByCondition(Map<String, Object> data) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Users getUsersById(Users Users) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Users> getUsersAll(Users Users) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Users> getUsersByPage(Users Users) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer getUsersByPageCount(Users Users) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Users> getUsersByIds(Users Users) {
		// TODO Auto-generated method stub
		return null;
	}

}